<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .puke{
            position: relative;
            width: 310px;
            height: 438px;
            margin: 100px auto;
        }
        img{
            position: absolute;
            right: 0;
            top: 0;
            transform-origin: bottom center;
            transition: all ease 0.2s;
        }
        .puke:hover img:nth-child(5){
            transform: rotate(0);
        }
        .puke:hover img:nth-child(4){
            transform: rotate(-30deg);
        }
        .puke:hover img:nth-child(3){
            transform: rotate(-60deg);
        }
        
        .puke:hover img:nth-child(2){
            transform: rotate(-90deg);
        }
        
        .puke:hover img:nth-child(1){
            transform: rotate(-120deg);
        }
        .puke:hover img:nth-child(6){
            transform: rotate(30deg);
        }
        .puke:hover img:nth-child(7){
            transform: rotate(60deg);
        }        
        .puke:hover img:nth-child(8){
            transform: rotate(90deg);
        }      
        .puke:hover img:nth-child(9){
            transform: rotate(120deg);
        }        
    </style>
</head>
<body>
    <div class="puke">
        <img  src="pk1.png">
        <img  src="pk2.png">
        <img  src="pk1.png">
        <img  src="pk2.png">
        <img  src="pk1.png">
        <img  src="pk2.png">
        <img  src="pk1.png">
        <img  src="pk2.png">
        <img  src="pk1.png">
    </div>
</body>
</html>